Python Scripting for GIS by Packt Publishing
Author:Packt Publishing [Packt Publishing]
Language: eng
Format: epub
Publisher: Packt Publishing
Published: 2018-04-26T05:51:56+00:00
Testing the API
After the installation, the ArcGIS package can be found in a separate folder named arcgis followed by the version number inside of the C:\UserName\Anaconda3\pkgs folder. If you have the API already installed on your computer, you might need to update it to the most recent version to ensure everything is working correctly, such as the map widget:
conda upgrade -c esri arcgis
The most recent version of the API at the time of writing is 1.4 and requires Python 3.5 or higher. You can test your installation by opening the Jupyter Notebook app, as follows, from a terminal or run the application directly from Anaconda3:
jupyter notebook
Then, run the following code and check to see if a map window opens up and you receive no error messages:
In: from arcgis.gis import GIS
my_gis = GIS()
my_gis.map()
If you have ArcGIS Pro installed, then you can install the API by using the conda environment inside Pro, using the Python package manager. Look for the Python tab and click on the Add Packages button. Search for arcgis, click Install, and accept the terms and conditions.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
API Testing and Development with Postman by Dave Westerveld(1845)
2021 Beginners Guide to Python Programming Language: A Crash Course to Mastering Python in One Hour by Elmer Gary & Elmer Gary(1835)
Learning C# by Developing Games with Unity 2020 by Harrison Ferrone(1605)
Software Architecture for Busy Developers by Stéphane Eyskens(1519)
Machine Learning for Algorithmic Trading by Stefan Jansen(1512)
Hands-On ROS for Robotics Programming by Bernardo Ronquillo Japón(1483)
Delphi GUI Programming with FireMonkey by Andrea Magni(1355)
Cloud Native with Kubernetes by Alexander Raul(1309)
Game Development Projects with Unreal Engine by Hammad Fozi & Goncalo Marques & David Pereira & Devin Sherry(1298)
Automate It with Zapier by Kelly Goss(1256)
Software Architecture Patterns for Serverless Systems by John Gilbert(1254)
Datadog Cloud Monitoring Quick Start Guide by Thomas Kurian Theakanath(1236)
Practical System Programming for Rust Developers by Prabhu Eshwarla(1233)
Practical Node-RED Programming by Taiji Hagino(1221)
Mastering React Test-Driven Development by Daniel Irvine(1207)
Delphi Programming Projects by William Duarte(1195)
Learn Spring for Android Application Development by S. M. Mohi Us Sunnat(1167)
Ghidra Software Reverse Engineering for Beginners by A. P. David(1166)
Developing Multi-Platform Apps with Visual Studio Code by Ovais Mehboob Ahmed Khan & Khusro Habib & Chris Dias(1163)
![](/ebook_detail_files/space.gif)